<%@page import="java.util.Locale"%>
<%@page import="java.util.ResourceBundle"%>
<%@page import="com.tubemostwanted.entity.Category"%>
<%@page import="java.util.List"%>
<%
 ResourceBundle resource = ResourceBundle.getBundle("config", new Locale("vi"));
 List<Category> listCate = (List<Category>) request.getAttribute("categories");
 if(listCate!=null&&listCate.size()>0){
%>
<h2 class="title-line"><%=resource.getString("category") %></h2>
	<%
		for(Category cate:listCate){
	%>
	<div class="social-box">
		<img src="<%=cate.getThumbImageUrl().getValue() %>" alt="" width="48px"/>
		<div class="social-box-text">
			<span class="social-arrow"></span>
			<span class="social-box-descrip">
				<a href="/category/<%=cate.getAlias() %>" rel="bookmark" title="">
					<%=cate.getTitle().getValue() %>
				</a>
			</span>
			<span class="social-box-count"></span>
		</div>
	</div>
<%
		}
	}
%>